package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2023-07-10
 */
@Data
@TableName("t_quotation_relation")
@ApiModel(value = "QuotationRelationDO对象", description = "")
public class QuotationRelationDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("运单id/拼车单id")
    private Long waybillId;

    @ApiModelProperty("1运单，3拼车单")
    private Long waybillType;

    @ApiModelProperty("创建时间")
    private LocalDateTime createAt;

    @ApiModelProperty("创建租户")
    private Long tenantId;

    @ApiModelProperty("是否是拼车子单 1是，0否")
    private Integer isCombine;

    @ApiModelProperty("是否报价，1是，0否")
    private Integer isQuotation;

    @ApiModelProperty("报价时间")
    private LocalDateTime quotationAt;

    private Integer isTemplate;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


}
